home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / Kubuntu 8.10 / kubuntu-8.10-desktop-i386.iso / casper / filesystem.squashfs / etc / acpi / suspend.d / 80-video-pci-state.sh < prev    next >
Text File  |  2008-10-14  |  224b  |  10 lines

  1. # Save video PCI state?
  2. if [ x$SAVE_VIDEO_PCI_STATE = xtrue ]; then
  3.   for x in /sys/bus/pci/devices/*; do
  4.     if [ `cat $x/class` = "0x030000" ]; then
  5.         cat $x/config >/var/run/vga-pci-`basename $x`;
  6.     fi
  7.   done
  8. fi
  9.  
  10.